﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Wutos.Domain;

namespace Wutos.Mapping
{
    public class StockMap : EntityTypeConfiguration<StockEntity>
    {
        public override void Map(ModelBuilder modelBuilder)
        {
            modelBuilder.Entity<StockEntity>().ToTable("Stock").HasKey(_ => _.id);
        }
    }


}
